package com.wxprogram.smallprogram.dao;

import java.util.List;

import com.wxprogram.smallprogram.entity.Major;
import com.wxprogram.smallprogram.entity.MajorType;
import org.apache.ibatis.annotations.Param;

public interface MajorDao {
	
	//根据学校查找专业类型
	List<MajorType> selectMajorTypeBySchool(String schoolname);
	//根据学校和专业类型查找专业
	List<Major> selectMajor(@Param("majortype") String majortype,@Param("schoolname")String schoolname);
	//根据专业查找专业类型
	String selectMajorTypeByMajor(String major);

}
